export interface Common {
    name: string;
    value: number;
}

export interface CommonList {
    name: string[];
    value: number[];
}

export interface WordCloud {
    data: Common[]
}

export interface Line extends CommonList {

}

export interface Bar extends CommonList {

}

export interface SunburstData extends Common {
    children: SunburstData[]
}

export interface Sunburst {
    data: SunburstData[]
}

export interface SankeyData{
    name:string;
}
export interface SankeyLink{
    source:string;
    target:string;
    value:string
}
export interface Sankey {
    data:SankeyData[];
    link:SankeyLink[]
}